
function reducer(state = {aaa: 111}, action) {
  console.log('action', action)
  if (action.type === 'aaa') {
    return {...state, [action.type]: action.text}
  } else {
    return {...state}
  }
}


export default reducer
